﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional

namespace ST.Torch.WebApi.Database.Migrations.Migrations
{
    /// <inheritdoc />
    public partial class v002 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c54-4cf4-8d49-c1c11e39ce85"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c54-4d94-8ca1-fd1148552f71"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c54-4dee-839f-7f265ae20cc4"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c54-4e44-8d4b-cefef0e755a1"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c54-4e96-89b3-1163cce4939b"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c54-4ee7-8afa-f6f7a2724ced"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c54-4f42-809c-d45559304886"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c54-4f96-8891-b9acc2cf1036"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c54-4feb-805a-fa90c52bb6bb"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-404e-863d-07cfe2fb1a87"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-40a6-8374-30e3b2283185"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-40fb-86cc-428c4f95b1b1"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-4157-8167-0659ce8f05dd"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-41b5-8130-30658113c691"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-420e-8184-40905468adc6"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-4289-8ac3-d3123deba20c"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-42e4-877a-d03f03f0ab45"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-433d-8caf-ccaa87d9e547"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-4395-8954-0c5c0fa4c2f1"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-43f5-8253-9acc5133e510"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-4452-858d-559309f401e8"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-44ad-84e8-fd309e83f93c"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-4507-89f6-fa6efbe8237c"));

            migrationBuilder.DeleteData(
                table: "SYSRole",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-489b-803a-4b2d6f0d01a1"));

            migrationBuilder.DeleteData(
                table: "SYSUser",
                keyColumn: "Id",
                keyValue: new Guid("08dd5abf-0c55-4c94-81eb-4921b0fb8d17"));

            migrationBuilder.CreateTable(
                name: "D_Company",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
                    Code = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
                    Name = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
                    CreateTime = table.Column<DateTime>(type: "datetime2", nullable: true),
                    UpdateTime = table.Column<DateTime>(type: "datetime2", nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_D_Company", x => x.Id);
                });

            migrationBuilder.CreateTable(
                name: "D_Gift",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
                    Name = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
                    GiftImgUrl = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
                    Number = table.Column<int>(type: "int", maxLength: 500, nullable: false),
                    RemainingNumber = table.Column<int>(type: "int", maxLength: 500, nullable: false),
                    CreateTime = table.Column<DateTime>(type: "datetime2", nullable: true),
                    UpdateTime = table.Column<DateTime>(type: "datetime2", nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_D_Gift", x => x.Id);
                });

            migrationBuilder.CreateTable(
                name: "D_UserInfor",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
                    OpenId = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
                    C_Code = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
                    C_Name = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
                    G_Name = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
                    G_ImgUrl = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
                    CreateTime = table.Column<DateTime>(type: "datetime2", nullable: true),
                    UpdateTime = table.Column<DateTime>(type: "datetime2", nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_D_UserInfor", x => x.Id);
                });

            migrationBuilder.InsertData(
                table: "SYSMenu",
                columns: new[] { "Id", "CascadeId", "CreateTime", "DeleteTime", "Href", "Icon", "IsDeleted", "IsHide", "OpenType", "ParentId", "PermissionId", "Sort", "Title", "Type", "UpdateTime" },
                values: new object[,]
                {
                    { new Guid("08dd5b81-fe52-4155-8c1f-b0a65546621a"), "08dd5b81-fe52-4155-8c1f-b0a65546621a", new DateTime(2025, 3, 5, 9, 6, 43, 217, DateTimeKind.Local).AddTicks(9556), null, "/", "layui-icon layui-icon-console", false, false, "_component", new Guid("00000000-0000-0000-0000-000000000000"), "SystemMenu", 0, "系统配置", 0, new DateTime(2025, 3, 5, 9, 6, 43, 217, DateTimeKind.Local).AddTicks(9565) },
                    { new Guid("08dd5b81-fe61-49c5-8a98-e50368d598e3"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-49c5-8a98-e50368d598e3", new DateTime(2025, 3, 5, 9, 6, 43, 319, DateTimeKind.Local).AddTicks(7156), null, "/SYS/Menu/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe52-4155-8c1f-b0a65546621a"), "MenuPage", 1, "菜单", 1, new DateTime(2025, 3, 5, 9, 6, 43, 319, DateTimeKind.Local).AddTicks(7165) },
                    { new Guid("08dd5b81-fe61-4a4e-8af8-431ded3695fc"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-49c5-8a98-e50368d598e3.08dd5b81-fe61-4a4e-8af8-431ded3695fc", new DateTime(2025, 3, 5, 9, 6, 43, 319, DateTimeKind.Local).AddTicks(9340), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-49c5-8a98-e50368d598e3"), "AddMenuPage", 1, "添加菜单", 2, new DateTime(2025, 3, 5, 9, 6, 43, 319, DateTimeKind.Local).AddTicks(9342) },
                    { new Guid("08dd5b81-fe61-4aa1-8ed9-d36d314714e8"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-49c5-8a98-e50368d598e3.08dd5b81-fe61-4aa1-8ed9-d36d314714e8", new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(671), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-49c5-8a98-e50368d598e3"), "DelMenuPage", 1, "删除菜单", 2, new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(671) },
                    { new Guid("08dd5b81-fe61-4af3-86fc-fa792ceb4a91"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-49c5-8a98-e50368d598e3.08dd5b81-fe61-4af3-86fc-fa792ceb4a91", new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(1975), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-49c5-8a98-e50368d598e3"), "EditMenuPage", 1, "编辑菜单", 2, new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(1975) },
                    { new Guid("08dd5b81-fe61-4b42-892d-e2847730a08a"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-4b42-892d-e2847730a08a", new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(3241), null, "/SYS/User/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe52-4155-8c1f-b0a65546621a"), "UserPage", 2, "用户", 1, new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(3242) },
                    { new Guid("08dd5b81-fe61-4b90-8f6e-8457592da0aa"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-4b42-892d-e2847730a08a.08dd5b81-fe61-4b90-8f6e-8457592da0aa", new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(4496), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4b42-892d-e2847730a08a"), "AddUserPage", 1, "添加用户", 2, new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(4496) },
                    { new Guid("08dd5b81-fe61-4be2-8f46-4c5e5aa06fad"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-4b42-892d-e2847730a08a.08dd5b81-fe61-4be2-8f46-4c5e5aa06fad", new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(5808), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4b42-892d-e2847730a08a"), "DelUserPage", 2, "删除用户", 2, new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(5808) },
                    { new Guid("08dd5b81-fe61-4c31-8ea3-1fcf8b829bcf"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-4b42-892d-e2847730a08a.08dd5b81-fe61-4c31-8ea3-1fcf8b829bcf", new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(7071), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4b42-892d-e2847730a08a"), "EditUserPage", 3, "编辑用户", 2, new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(7071) },
                    { new Guid("08dd5b81-fe61-4c83-89b9-90f41396e6a6"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-4b42-892d-e2847730a08a.08dd5b81-fe61-4c83-89b9-90f41396e6a6", new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(8378), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4b42-892d-e2847730a08a"), "AssignRoleUserPage", 4, "分配角色权限", 2, new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(8378) },
                    { new Guid("08dd5b81-fe61-4cd8-8831-53e87daefd8a"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-4cd8-8831-53e87daefd8a", new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(9736), null, "/SYS/Role/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe52-4155-8c1f-b0a65546621a"), "RolePage", 3, "角色", 1, new DateTime(2025, 3, 5, 9, 6, 43, 320, DateTimeKind.Local).AddTicks(9737) },
                    { new Guid("08dd5b81-fe61-4d2c-802e-a4997e7a2134"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-4cd8-8831-53e87daefd8a.08dd5b81-fe61-4d2c-802e-a4997e7a2134", new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(1073), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4cd8-8831-53e87daefd8a"), "AddRolePage", 1, "添加角色", 2, new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(1073) },
                    { new Guid("08dd5b81-fe61-4d83-845a-2647d86dd331"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-4cd8-8831-53e87daefd8a.08dd5b81-fe61-4d83-845a-2647d86dd331", new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(2469), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4cd8-8831-53e87daefd8a"), "DelRolePage", 2, "删除角色", 2, new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(2469) },
                    { new Guid("08dd5b81-fe61-4ddc-8300-60285667a56b"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-4cd8-8831-53e87daefd8a.08dd5b81-fe61-4ddc-8300-60285667a56b", new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(3892), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4cd8-8831-53e87daefd8a"), "EditRolePage", 3, "修改角色", 2, new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(3893) },
                    { new Guid("08dd5b81-fe61-4e38-8a9d-b7fdc635cf20"), "08dd5b81-fe52-4155-8c1f-b0a65546621a.08dd5b81-fe61-4cd8-8831-53e87daefd8a.08dd5b81-fe61-4e38-8a9d-b7fdc635cf20", new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(5370), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4cd8-8831-53e87daefd8a"), "AssignmentMenuRolePage", 4, "分配菜单权限", 2, new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(5371) },
                    { new Guid("08dd5b81-fe61-4e93-82cd-aee66c723a42"), "08dd5b81-fe61-4e93-82cd-aee66c723a42", new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(6819), null, "/", "layui-icon layui-icon-console", false, true, "_component", new Guid("00000000-0000-0000-0000-000000000000"), "PermPage", 4, "按钮权限-所有权限控制", 0, new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(6819) },
                    { new Guid("08dd5b81-fe61-4eff-8094-17ae4b51f3e3"), "08dd5b81-fe61-4e93-82cd-aee66c723a42.08dd5b81-fe61-4eff-8094-17ae4b51f3e3", new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(8545), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4e93-82cd-aee66c723a42"), "GeneralAddDataPerm", 1, "通用添加数据", 2, new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(8546) },
                    { new Guid("08dd5b81-fe61-4f58-8c9a-74de8b9c247a"), "08dd5b81-fe61-4e93-82cd-aee66c723a42.08dd5b81-fe61-4f58-8c9a-74de8b9c247a", new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(9981), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4e93-82cd-aee66c723a42"), "GeneralDelDataPerm", 2, "通用删除数据", 2, new DateTime(2025, 3, 5, 9, 6, 43, 321, DateTimeKind.Local).AddTicks(9981) },
                    { new Guid("08dd5b81-fe61-4fb5-84c7-92083f5faa8e"), "08dd5b81-fe61-4e93-82cd-aee66c723a42.08dd5b81-fe61-4fb5-84c7-92083f5faa8e", new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(1460), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4e93-82cd-aee66c723a42"), "GeneralEditDataPerm", 3, "通用修改数据", 2, new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(1461) },
                    { new Guid("08dd5b81-fe62-400d-8d6c-a9d01d187ef9"), "08dd5b81-fe61-4e93-82cd-aee66c723a42.08dd5b81-fe62-400d-8d6c-a9d01d187ef9", new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(2877), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe61-4e93-82cd-aee66c723a42"), "GeneralExportDataPerm", 3, "通用Excecl导出数据", 2, new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(2878) },
                    { new Guid("08dd5b81-fe62-4069-860c-e83e6fd2591c"), "08dd5b81-fe62-4069-860c-e83e6fd2591c", new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(4343), null, "/", "layui-icon layui-icon-console", false, false, "_component", new Guid("00000000-0000-0000-0000-000000000000"), "SystemMenu", 2, "常用实例方法", 0, new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(4343) },
                    { new Guid("08dd5b81-fe62-40c3-80d7-712f82c78752"), "08dd5b81-fe62-4069-860c-e83e6fd2591c.08dd5b81-fe62-40c3-80d7-712f82c78752", new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(5776), null, "/Utils/Excel/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe62-4069-860c-e83e6fd2591c"), "ExcelInOutPage", 1, "Excel导入导出", 1, new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(5777) },
                    { new Guid("08dd5b81-fe62-411d-8185-c2305c240048"), "08dd5b81-fe62-4069-860c-e83e6fd2591c.08dd5b81-fe62-411d-8185-c2305c240048", new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(7218), null, "/Utils/Form/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe62-4069-860c-e83e6fd2591c"), "FormDataPage", 2, "表单", 1, new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(7218) },
                    { new Guid("08dd5b81-fe62-4176-8e7c-13495fcbcc41"), "08dd5b81-fe62-4069-860c-e83e6fd2591c.08dd5b81-fe62-411d-8185-c2305c240048", new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(8655), null, "/Utils/AutomaticCodeGeneration/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5b81-fe62-4069-860c-e83e6fd2591c"), "AutomaticCodeGenerationPage", 3, "代码自动生成模板", 1, new DateTime(2025, 3, 5, 9, 6, 43, 322, DateTimeKind.Local).AddTicks(8655) }
                });

            migrationBuilder.InsertData(
                table: "SYSRole",
                columns: new[] { "Id", "CreateTime", "DeleteTime", "IsDeleted", "Name", "RoleCode", "UpdateTime" },
                values: new object[] { new Guid("08dd5b81-fe62-4487-815f-eac163c621a9"), new DateTime(2025, 3, 5, 9, 6, 43, 324, DateTimeKind.Local).AddTicks(1205), null, false, "管理员", "Administrator", new DateTime(2025, 3, 5, 9, 6, 43, 324, DateTimeKind.Local).AddTicks(1209) });

            migrationBuilder.InsertData(
                table: "SYSUser",
                columns: new[] { "Id", "Account", "Contact", "CreateTime", "DeleteTime", "Img", "IsDeleted", "IsEnable", "NickName", "Password", "Sex", "UpdateTime" },
                values: new object[] { new Guid("08dd5b81-fe62-4746-8ae0-1bae49476250"), "Administrator", null, new DateTime(2025, 3, 5, 9, 6, 43, 325, DateTimeKind.Local).AddTicks(2463), null, null, false, true, null, "670b14728ad9902aecba32e22fa4f6bd", 0, new DateTime(2025, 3, 5, 9, 6, 43, 325, DateTimeKind.Local).AddTicks(2467) });
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "D_Company");

            migrationBuilder.DropTable(
                name: "D_Gift");

            migrationBuilder.DropTable(
                name: "D_UserInfor");

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe52-4155-8c1f-b0a65546621a"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-49c5-8a98-e50368d598e3"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4a4e-8af8-431ded3695fc"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4aa1-8ed9-d36d314714e8"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4af3-86fc-fa792ceb4a91"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4b42-892d-e2847730a08a"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4b90-8f6e-8457592da0aa"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4be2-8f46-4c5e5aa06fad"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4c31-8ea3-1fcf8b829bcf"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4c83-89b9-90f41396e6a6"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4cd8-8831-53e87daefd8a"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4d2c-802e-a4997e7a2134"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4d83-845a-2647d86dd331"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4ddc-8300-60285667a56b"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4e38-8a9d-b7fdc635cf20"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4e93-82cd-aee66c723a42"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4eff-8094-17ae4b51f3e3"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4f58-8c9a-74de8b9c247a"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe61-4fb5-84c7-92083f5faa8e"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe62-400d-8d6c-a9d01d187ef9"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe62-4069-860c-e83e6fd2591c"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe62-40c3-80d7-712f82c78752"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe62-411d-8185-c2305c240048"));

            migrationBuilder.DeleteData(
                table: "SYSMenu",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe62-4176-8e7c-13495fcbcc41"));

            migrationBuilder.DeleteData(
                table: "SYSRole",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe62-4487-815f-eac163c621a9"));

            migrationBuilder.DeleteData(
                table: "SYSUser",
                keyColumn: "Id",
                keyValue: new Guid("08dd5b81-fe62-4746-8ae0-1bae49476250"));

            migrationBuilder.InsertData(
                table: "SYSMenu",
                columns: new[] { "Id", "CascadeId", "CreateTime", "DeleteTime", "Href", "Icon", "IsDeleted", "IsHide", "OpenType", "ParentId", "PermissionId", "Sort", "Title", "Type", "UpdateTime" },
                values: new object[,]
                {
                    { new Guid("08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f", new DateTime(2025, 3, 4, 9, 51, 14, 771, DateTimeKind.Local).AddTicks(9379), null, "/", "layui-icon layui-icon-console", false, false, "_component", new Guid("00000000-0000-0000-0000-000000000000"), "SystemMenu", 0, "系统配置", 0, new DateTime(2025, 3, 4, 9, 51, 14, 771, DateTimeKind.Local).AddTicks(9388) },
                    { new Guid("08dd5abf-0c54-4cf4-8d49-c1c11e39ce85"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c54-4cf4-8d49-c1c11e39ce85", new DateTime(2025, 3, 4, 9, 51, 14, 861, DateTimeKind.Local).AddTicks(6543), null, "/SYS/Menu/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f"), "MenuPage", 1, "菜单", 1, new DateTime(2025, 3, 4, 9, 51, 14, 861, DateTimeKind.Local).AddTicks(6558) },
                    { new Guid("08dd5abf-0c54-4d94-8ca1-fd1148552f71"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c54-4cf4-8d49-c1c11e39ce85.08dd5abf-0c54-4d94-8ca1-fd1148552f71", new DateTime(2025, 3, 4, 9, 51, 14, 861, DateTimeKind.Local).AddTicks(9087), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c54-4cf4-8d49-c1c11e39ce85"), "AddMenuPage", 1, "添加菜单", 2, new DateTime(2025, 3, 4, 9, 51, 14, 861, DateTimeKind.Local).AddTicks(9090) },
                    { new Guid("08dd5abf-0c54-4dee-839f-7f265ae20cc4"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c54-4cf4-8d49-c1c11e39ce85.08dd5abf-0c54-4dee-839f-7f265ae20cc4", new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(516), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c54-4cf4-8d49-c1c11e39ce85"), "DelMenuPage", 1, "删除菜单", 2, new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(516) },
                    { new Guid("08dd5abf-0c54-4e44-8d4b-cefef0e755a1"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c54-4cf4-8d49-c1c11e39ce85.08dd5abf-0c54-4e44-8d4b-cefef0e755a1", new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(1901), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c54-4cf4-8d49-c1c11e39ce85"), "EditMenuPage", 1, "编辑菜单", 2, new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(1902) },
                    { new Guid("08dd5abf-0c54-4e96-89b3-1163cce4939b"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c54-4e96-89b3-1163cce4939b", new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(3209), null, "/SYS/User/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f"), "UserPage", 2, "用户", 1, new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(3210) },
                    { new Guid("08dd5abf-0c54-4ee7-8afa-f6f7a2724ced"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c54-4e96-89b3-1163cce4939b.08dd5abf-0c54-4ee7-8afa-f6f7a2724ced", new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(4506), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c54-4e96-89b3-1163cce4939b"), "AddUserPage", 1, "添加用户", 2, new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(4507) },
                    { new Guid("08dd5abf-0c54-4f42-809c-d45559304886"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c54-4e96-89b3-1163cce4939b.08dd5abf-0c54-4f42-809c-d45559304886", new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(5953), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c54-4e96-89b3-1163cce4939b"), "DelUserPage", 2, "删除用户", 2, new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(5953) },
                    { new Guid("08dd5abf-0c54-4f96-8891-b9acc2cf1036"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c54-4e96-89b3-1163cce4939b.08dd5abf-0c54-4f96-8891-b9acc2cf1036", new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(7304), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c54-4e96-89b3-1163cce4939b"), "EditUserPage", 3, "编辑用户", 2, new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(7305) },
                    { new Guid("08dd5abf-0c54-4feb-805a-fa90c52bb6bb"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c54-4e96-89b3-1163cce4939b.08dd5abf-0c54-4feb-805a-fa90c52bb6bb", new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(8657), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c54-4e96-89b3-1163cce4939b"), "AssignRoleUserPage", 4, "分配角色权限", 2, new DateTime(2025, 3, 4, 9, 51, 14, 862, DateTimeKind.Local).AddTicks(8657) },
                    { new Guid("08dd5abf-0c55-404e-863d-07cfe2fb1a87"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c55-404e-863d-07cfe2fb1a87", new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(248), null, "/SYS/Role/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f"), "RolePage", 3, "角色", 1, new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(249) },
                    { new Guid("08dd5abf-0c55-40a6-8374-30e3b2283185"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c55-404e-863d-07cfe2fb1a87.08dd5abf-0c55-40a6-8374-30e3b2283185", new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(1652), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-404e-863d-07cfe2fb1a87"), "AddRolePage", 1, "添加角色", 2, new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(1652) },
                    { new Guid("08dd5abf-0c55-40fb-86cc-428c4f95b1b1"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c55-404e-863d-07cfe2fb1a87.08dd5abf-0c55-40fb-86cc-428c4f95b1b1", new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(3015), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-404e-863d-07cfe2fb1a87"), "DelRolePage", 2, "删除角色", 2, new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(3015) },
                    { new Guid("08dd5abf-0c55-4157-8167-0659ce8f05dd"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c55-404e-863d-07cfe2fb1a87.08dd5abf-0c55-4157-8167-0659ce8f05dd", new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(4482), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-404e-863d-07cfe2fb1a87"), "EditRolePage", 3, "修改角色", 2, new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(4483) },
                    { new Guid("08dd5abf-0c55-41b5-8130-30658113c691"), "08dd5abf-0c47-41ec-8a9c-9faa13b0bc7f.08dd5abf-0c55-404e-863d-07cfe2fb1a87.08dd5abf-0c55-41b5-8130-30658113c691", new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(5985), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-404e-863d-07cfe2fb1a87"), "AssignmentMenuRolePage", 4, "分配菜单权限", 2, new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(5986) },
                    { new Guid("08dd5abf-0c55-420e-8184-40905468adc6"), "08dd5abf-0c55-420e-8184-40905468adc6", new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(7409), null, "/", "layui-icon layui-icon-console", false, true, "_component", new Guid("00000000-0000-0000-0000-000000000000"), "PermPage", 4, "按钮权限-所有权限控制", 0, new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(7410) },
                    { new Guid("08dd5abf-0c55-4289-8ac3-d3123deba20c"), "08dd5abf-0c55-420e-8184-40905468adc6.08dd5abf-0c55-4289-8ac3-d3123deba20c", new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(9387), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-420e-8184-40905468adc6"), "GeneralAddDataPerm", 1, "通用添加数据", 2, new DateTime(2025, 3, 4, 9, 51, 14, 863, DateTimeKind.Local).AddTicks(9387) },
                    { new Guid("08dd5abf-0c55-42e4-877a-d03f03f0ab45"), "08dd5abf-0c55-420e-8184-40905468adc6.08dd5abf-0c55-42e4-877a-d03f03f0ab45", new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(839), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-420e-8184-40905468adc6"), "GeneralDelDataPerm", 2, "通用删除数据", 2, new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(840) },
                    { new Guid("08dd5abf-0c55-433d-8caf-ccaa87d9e547"), "08dd5abf-0c55-420e-8184-40905468adc6.08dd5abf-0c55-433d-8caf-ccaa87d9e547", new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(2269), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-420e-8184-40905468adc6"), "GeneralEditDataPerm", 3, "通用修改数据", 2, new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(2269) },
                    { new Guid("08dd5abf-0c55-4395-8954-0c5c0fa4c2f1"), "08dd5abf-0c55-420e-8184-40905468adc6.08dd5abf-0c55-4395-8954-0c5c0fa4c2f1", new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(3673), null, "-", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-420e-8184-40905468adc6"), "GeneralExportDataPerm", 3, "通用Excecl导出数据", 2, new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(3673) },
                    { new Guid("08dd5abf-0c55-43f5-8253-9acc5133e510"), "08dd5abf-0c55-43f5-8253-9acc5133e510", new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(5203), null, "/", "layui-icon layui-icon-console", false, false, "_component", new Guid("00000000-0000-0000-0000-000000000000"), "SystemMenu", 2, "常用实例方法", 0, new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(5204) },
                    { new Guid("08dd5abf-0c55-4452-858d-559309f401e8"), "08dd5abf-0c55-43f5-8253-9acc5133e510.08dd5abf-0c55-4452-858d-559309f401e8", new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(6693), null, "/Utils/Excel/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-43f5-8253-9acc5133e510"), "ExcelInOutPage", 1, "Excel导入导出", 1, new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(6694) },
                    { new Guid("08dd5abf-0c55-44ad-84e8-fd309e83f93c"), "08dd5abf-0c55-43f5-8253-9acc5133e510.08dd5abf-0c55-44ad-84e8-fd309e83f93c", new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(8148), null, "/Utils/Form/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-43f5-8253-9acc5133e510"), "FormDataPage", 2, "表单", 1, new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(8149) },
                    { new Guid("08dd5abf-0c55-4507-89f6-fa6efbe8237c"), "08dd5abf-0c55-43f5-8253-9acc5133e510.08dd5abf-0c55-44ad-84e8-fd309e83f93c", new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(9593), null, "/Utils/AutomaticCodeGeneration/Index", "layui-icon layui-icon-console", false, false, "_component", new Guid("08dd5abf-0c55-43f5-8253-9acc5133e510"), "AutomaticCodeGenerationPage", 3, "代码自动生成模板", 1, new DateTime(2025, 3, 4, 9, 51, 14, 864, DateTimeKind.Local).AddTicks(9594) }
                });

            migrationBuilder.InsertData(
                table: "SYSRole",
                columns: new[] { "Id", "CreateTime", "DeleteTime", "IsDeleted", "Name", "RoleCode", "UpdateTime" },
                values: new object[] { new Guid("08dd5abf-0c55-489b-803a-4b2d6f0d01a1"), new DateTime(2025, 3, 4, 9, 51, 14, 866, DateTimeKind.Local).AddTicks(4251), null, false, "管理员", "Administrator", new DateTime(2025, 3, 4, 9, 51, 14, 866, DateTimeKind.Local).AddTicks(4255) });

            migrationBuilder.InsertData(
                table: "SYSUser",
                columns: new[] { "Id", "Account", "Contact", "CreateTime", "DeleteTime", "Img", "IsDeleted", "IsEnable", "NickName", "Password", "Sex", "UpdateTime" },
                values: new object[] { new Guid("08dd5abf-0c55-4c94-81eb-4921b0fb8d17"), "Administrator", null, new DateTime(2025, 3, 4, 9, 51, 14, 868, DateTimeKind.Local).AddTicks(518), null, null, false, true, null, "670b14728ad9902aecba32e22fa4f6bd", 0, new DateTime(2025, 3, 4, 9, 51, 14, 868, DateTimeKind.Local).AddTicks(523) });
        }
    }
}
